﻿namespace System
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class ForeignKeyForAttribute : Attribute
    {
        public ForeignKeyForAttribute(Type foreignKeyObjectType, String foreignKeyPropertyName)
        {
            this.ForeignKeyObjectType = foreignKeyObjectType;
            this.ForeignKeyPropertyName = foreignKeyPropertyName;
        }

        public Type ForeignKeyObjectType { get; private set; }

        public String ForeignKeyPropertyName { get; private set; }
    }
}